package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2024-07-17
 */
public interface AreaService extends IService<Area> {
    Page<Area> pageList(Area area, PageDTO dto);

    boolean removeArea(Area area);

    boolean forceRemoveArea(Area area);
    List<String> getAllAreaNames();
}
